package com.shiroha.video.jellyfin.client.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public class Item {
    @JsonProperty("Name")
    private String name;

    @JsonProperty("ServerId")
    private String serverId;

    @JsonProperty("Id")
    private String id;

    @JsonProperty("Container")
    private String container;

    @JsonProperty("PremiereDate")
    private String premiereDate;

    @JsonProperty("Path")
    private String path;

    @JsonProperty("ChannelId")
    private String channelId;

    @JsonProperty("RunTimeTicks")
    private long runTimeTicks;

    @JsonProperty("AspectRatio")
    private String aspectRatio;

    @JsonProperty("ProductionYear")
    private int productionYear;

    @JsonProperty("IsFolder")
    private boolean isFolder;

    @JsonProperty("ParentId")
    private String parentId;

    @JsonProperty("Type")
    private String type;

    @JsonProperty("VideoType")
    private String videoType;

    @JsonProperty("ImageTags")
    private Map<String, String> imageTags;

    @JsonProperty("BackdropImageTags")
    private List<String> backdropImageTags;

    @JsonProperty("ImageBlurHashes")
    private Map<String, Map<String, String>> imageBlurHashes;

    @JsonProperty("LocationType")
    private String locationType;

    @JsonProperty("MediaType")
    private String mediaType;
}
